package com.baomidou.springmvc.service.system.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.baomidou.springmvc.mapper.system.DrawPrizeRecordMapper;
import com.baomidou.springmvc.model.dto.DrawPrizeRecordDTO;
import com.baomidou.springmvc.model.system.DrawPrizeRecord;
import com.baomidou.springmvc.service.system.IDrawPrizeRecordService;

@Service
public class DrawPrizeRecordServiceImpl extends ServiceImpl<DrawPrizeRecordMapper, DrawPrizeRecord> implements IDrawPrizeRecordService{

	@Override
	public DrawPrizeRecordDTO getRecord(String openId) {
		return baseMapper.getRecord(openId);
	}

	@Override
	public List<DrawPrizeRecordDTO> getAllRecord() {
		return baseMapper.getAllRecord();
	}

}
